package com.zcf.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jj
 * @date 2019/11/11 15:51
 */
@Data
@TableName("pumping_rate")
public class Pumping extends Model<Pumping> {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 0推筒子1三公
     */
    @TableField("game_type" )
    private Integer gameType;
    /**
     * 0初级1中级2高级
     */
    @TableField("room_grade" )
    private Integer roomGrade;
    /**
     * 抽水比例
     */
    private Double pumping;
    /**
     * 房间底分
     */
    @TableField("room_points" )
    private Integer roomPoints;
    /**
     *做庄金币限制
     */
    private Integer bankerMoney;
    /**
     * 坐下人数限制
     * @return
     */
    private Integer numbers;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
